﻿using AutoMapper;
using BCDto.TMS.FreightAddress;
using BCEntity.TMS.FreightAddress;

namespace BCService.MapperProfiles.TMS.FreightAddress
{
    public class FreightAddressProfile : Profile
    {
        public FreightAddressProfile()
        {
            CreateMap<FreightAddressExtendEntity, FreightAddressDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<FreightAddressRequestDto, FreightAddressEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();

        }
    }
}
